const app = getApp()

Component({
  properties: {},
  methods:{
    //路由跳转
    routerGo: function (e) {
      app.routerGo(e)
    },
    //拨打电话
    call: function () {
      wx.makePhoneCall({
        phoneNumber: app.globalData.mobile
      })
    },
    //打开地图
    openMap: function () {
      wx.openLocation({
        latitude: app.globalData.lat,
        longitude: app.globalData.lng,
        scale: 28
      })
    },
  }
  
})